GtkRevealer: Remove useless _start_animation call
authorTimm Bäder <mail@baedert.org>
Fri, 16 Oct 2015 12:11:28 +0000 (14:11 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 16 Oct 2015 13:07:49 +0000 (15:07 +0200)
The call just passed priv->target_pos, but _start_animation directly
returns if the given target is priv->target_pos (see line 627).

gtk/gtkrevealer.c

index 424840aec3d54d5ddff66d3408396afa67876a50..9076b589975250e9301b8eb387ab47d32b77c07d 100644 (file)
@@ -675,8 +675,6 @@ gtk_revealer_real_map (GtkWidget *widget)
 
       if (allocation.width > 0 && allocation.height > 0)
         gdk_window_show (priv->view_window);
-
-      gtk_revealer_start_animation (revealer, priv->target_pos);
     }
 
   GTK_WIDGET_CLASS (gtk_revealer_parent_class)->map (widget);